<template>
  <div id="app">
    <router-view v-if="isRouterAlive"/>
  </div>
</template>

<script>
// +----------------------------------------------------------------------
// | jufeiniu [蓝港AI-好用又快]
// +----------------------------------------------------------------------
// | Copyright (c) 2023 https://jufeiniu.com/ All rights reserved.
// +----------------------------------------------------------------------
// | Author: 巨说还行-乔欣弥弥-巨肥牛 <jufeiniu@163.com>
// +----------------------------------------------------------------------
// | Personal site: https://jufeiniu.com/
// +----------------------------------------------------------------------
export default {
  name: 'App',
   provide () {
    return {
      reload: this.reload
    }
   },
   data () {
    return {
      isRouterAlive: true
    }
  },
  methods: {
    reload() {
      this.isRouterAlive = false
      this.$nextTick(function () {
        this.isRouterAlive = true
      })
    }
  }
}
</script>
<style >
.el-button--primary{
  background: #33963d!important;
  border: 1px solid #33963d!important;
}
</style>
